<?php
namespace app\api\controller;
use \think\Db;
class Add
{
    public function index()
    {
		$test = Db::name("user")->select();
        $data = ['name'=>'xiaoming1','url'=>'thinkphp.cn'];       
		return ['data'=>$test,'code'=>1,'message'=>'操作完成'];
    }


}
